<%@ page language="java" contentType="text/html;charset=utf-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html style="height: 100%">
<head>
    <meta charset="UTF-8">
    <title>Insert title here</title>
    <style type="text/css">
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        #d1 {
            width: 95%;
            height: 5%;
            background-color: #EEEEEE;
            position: relative;
            /* padding-top: 2.3%; */
        }

        #d1-1 {
            width: 60%;
            height: 100%;
            float: left;
            padding-left: 40%;
            padding-top: 0.5%;
        }

        #d1-2 {
            width: 40%;
            height: 100%;
            float: right;
            padding-left: 5%;
            padding-top: 0.5%;
        }

        #d2 {
            width: 95%;
            height: 95%;
            padding-top: 1%;
            font-family: "宋体";
            font-size: 18px;
            padding-left: 20%;


        }

        .t1 {
            line-height: 55px;
            width: 60%;

        }

        .t1 select {
            height: 25px;
            width: 70%;
        }

        .t1 input {
            height: 30px;
            /*  width: 80%;  */
        }

        .input1 {
            height: 33px;
            width: 83%;
        }

        .i1 {
            width: 100%;
        }

        .buttons {
            padding-left: 13%;
            padding-top: 1%;


        }

        .buttons input {
            background-color: #009688;
            width: 45%;
            height: 30px;
        }

        .td1 {
            text-align: right;

        }

        #in1 {
            width: 80%;
        }

    </style>
</head>
<body style="height: 100%">
<div id="d1">
    <div id="d1-1">编辑</div>
    <div id="d1-2"><img src="../image/des.png" width="20px" height="20px">&nbsp;<a href="repair.jsp" target="i"><img
            src="../image/close.png" width="20px" height="20px"></a></div>
</div>
<div id="d2">
    <form action="/" method="post">
        <table class="t1">
            <tr>
                <td class="td1">房屋编号&nbsp;</td>
                <td><input type="text" name="h_id" value="${repair.h_id}"></td>
                <td class="td1">修缮人员&nbsp;</td>
                <td>
                    <select name="l_name">
                        <option>请选择</option>
                        <option value="${repair.l_name==张三?"checked":""}">张三</option>
                        <option value="${repair.l_name==李四?"checked":""}">李四</option>
                        <option value="${repair.l_name==王五?"checked":""}">王五</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td class="td1">修缮说明&nbsp;</td>
                <td colspan="3"><input type="text" name="r_explain" value="${repair.r_explain}" class="input1"></td>
            </tr>
            <tr>
                <td class="td1">备注&nbsp;</td>
                <td colspan="3">
                    <input type="text" name="r_remark" value="${repair.r_remark}" class="input1">
                </td>
            </tr>
            <tr>
                <td class="td1">修缮结果&nbsp;</td>
                <td>
                    <input type="radio" name="r_result" value="${repair.r_result==已修?"checked":""}">已修
                    <input type="radio" name="r_result" value="${repair.r_result==未修?"checked":""}">未修
                </td>
            </tr>


        </table>
        <div class="buttons">
            <input type="submit" value="更新">&nbsp;&nbsp;
        </div>
    </form>
</div>

</body>
</html>